import React, {useEffect} from "react";
import {Dimensions, StyleSheet, View} from "react-native";

const {width,height,scale} = Dimensions.get("window");

const HelloFn = ({navigation,route}:any) => {
        useEffect(()=>{
            navigation.setOptions({
                title:"HelloComp"
            })
        },[])
        return (
            <View style={styles.container}>

            </View>
        )
}
const styles = StyleSheet.create({
    container: {
        flex: 1,
        width: width,
        alignItems: "center",
        flexDirection: "column",
        paddingLeft: 20,
        paddingRight: 10,
        paddingTop:10,
        backgroundColor: "white"
    },
})
export default HelloFn;


